<?php

/**
 * @author vison.cao visonforcoding@gmail.com
 */

namespace Wonfu\Openapi;

/**
 * @link https://swagger.io/specification/
 */
class Openapi
{
    /**
     * This string MUST be the semantic version number of the OpenAPI Specification version
     * that the OpenAPI document uses.
     * @var string
     * @Required
     */
    public $openapi;

    /**
     * Provides metadata about the API.
     * @var Info
     * @Required
     */
    public $info;

    /**
     * @var Server[]
     */
    public $servers;


    /**
     * @var Tag[]
     */
    public $tags;

    /**
     * @var Path[]
     */
    public $paths;



    /**
     * An element to hold various schemas for the specification.
     * @var Component
     */
    public $components;

    /**
     * @var Security[]
     */
    public $security;

    /**
     * @var
     */
    public $externalDocs;


}